package chai.ning.constructor;

public class Birds extends Animal {
	
	public Birds(){
		super(); // 调用父类中的无参数构造方法
		System.out.println( "Birds : constructor" );
	}
	
	public static void main(String[] args) {
		
		Birds b = new Birds();
		b.setName( "孔雀大明王" );
		System.out.println( b.getName() );
		
	}

}
